﻿<Window x:Class="LFSRecord2.View.Dialogs.EditPoint3DValueDialogBox"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Edit 3D Point Values" Height="126" Width="300"
        ShowInTaskbar="False"
        WindowStartupLocation="CenterOwner" ResizeMode="NoResize">
    <Grid>
        <Grid.Resources>
            <Style TargetType="{x:Type TextBox}">
                <Setter Property="Margin" Value="5,22,5,10" />
            </Style>
            <Style TargetType="{x:Type Button}">
                <Setter Property="Margin" Value="2,0,2,10" />
            </Style>
            <Style TargetType="{x:Type Label}">
                <Setter Property="Margin" Value="5,0,0,0" />
            </Style>
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition Height="55" />
            <RowDefinition Height="32" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="90" />
            <ColumnDefinition Width="90" />
            <ColumnDefinition Width="90" />
        </Grid.ColumnDefinitions>

        <Label Grid.Row="0" Grid.Column="0">X value :</Label>
        <TextBox Grid.Row="0" Grid.Column="0" Name="xValue" Text="{Binding Path=xValue}"/>

        <Label Grid.Row="0" Grid.Column="1">Y value :</Label>
        <TextBox Grid.Row="0" Grid.Column="1" Name="yValue" Text="{Binding Path=yValue}"/>

        <Label Grid.Row="0" Grid.Column="2">Z value :</Label>
        <TextBox Grid.Row="0" Grid.Column="2" Name="zValue" Text="{Binding Path=zValue}"/>

        <StackPanel Grid.Row="1" Grid.ColumnSpan="3" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Name="OKButton" Click="OKButton_Click" IsDefault="True" Width="54">OK</Button>
            <Button Name="CancelButton" IsCancel="True" Width="54">Cancel</Button>
        </StackPanel>
    </Grid>
</Window>
